.PHONY:auto
auto:clean file

file:file.c
	gcc -o $@ $^
.PHONY:clean
clean:
	rm file -f